package com.climb.moive.service;

import com.climb.moive.entity.Movie;

import java.util.List;

public interface MovieService {
    void insert(Movie movie);

    void update(Movie movie);

    void delet(Integer id);

    Movie findMovieById(Integer id);

    Integer countMovieNum();

    List<Movie> findAllMovie();

    List<Movie> findMoveByDirector(String name);

    List<Movie> findMoveByMovieName(String name);

    List<Movie> findMoveByActor(String name);

    List<Movie> findRecentlyReleaseMovies();

    List<Movie> findMoviesbyType(String type);

    List<Movie> findMoviesbyLanguage(String language);
}
